package com.laguille.games.monopoly.commons.board;

import java.util.List;

import com.laguille.games.monopoly.commons.player.Player;
import com.laguille.games.monopoly.commons.property.Property;

public interface Board {

	/**
	 * Returns the list of spaces on the board.
	 * @return the list of spaces.
	 */
	public List<Property> getSpaces();
	
	/**
	 * Returns the player position on the board.
	 * @param player the player to locate.
	 * @return the player position.
	 */
	public Property getPlayerPosition(Player player);
	
	/**
	 * Moves the <code>player</code> by the <code>numberOfCases</code> on the board.
	 * @param player the player to move.
	 * @param numberOfCases the number of cases.
	 */
	public void movePlayer(Player player, int numberOfCases);
}
